package com.tougutips.common.like.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 张治怡
 * @version 1.0
 * @description 收到的赞VO
 * @dateTime 2022/7/27 16:21
 */
@Data
public class LikeMeVo implements Serializable {
    private static final long serialVersionUID = 8870828212595577523L;
    @ApiModelProperty(value = "点赞人ID")
    private long userId;
    @ApiModelProperty(value = "点赞人昵称")
    private String nickName;
    @ApiModelProperty(value = "点赞人头像")
    private String avatar;
    @ApiModelProperty(value = "点赞作品或者评论的ID")
    private long likeId;
    @ApiModelProperty(value = "点赞的类型")
    private int likeType;
    @ApiModelProperty(value = "作品的预览图")
    private String cover;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likeTime;

}
